namespace SimpleWebServices
{
    public sealed class ValueTypeTest<T> : ITestExpectation
    {
        public bool Check()
        {
            if (!typeof(T).IsValueType)
            {
                throw new TestException(typeof(T).Name + " is not a value type.");
            }

            return true;
        }
    }
}